<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>Hello Vue</title>
		<script src="vue/vue.js"></script>
	</head>
	<body>
		<div id="app">
			<a v-bind:href="site.url">{{site.name}}</a>
			<br>
			<a :href="site.url">{{site.name}}</a>
		</div>
	</body>
	
	<script>
		new Vue({
			el:"#app",
			data:{
				msg:"Hello VueJS!",
				site:{
					name:"百度",
					url:"http://www.baidu.com"
				}
			}
		});
	</script>
	
</html>
